package com.goushu.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Comment {
    private String nickname;
    private String userPic;
    private String detail;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createTime;
}
